package diploma.kisel.modelas.service.api;

import java.util.List;

import diploma.kisel.modelas.domain.User;

public interface UserService {

	public List<User> findAll();

	public User findById(String login);

	public User save(User user);

	public User update(User user);

	public void remove(User user);

	public void remove(String login);
	
	public boolean checkPassword(String login, String password);
	
	public boolean checkRole(User user, String roleName);
}
